"""
@Project ：TeachingInterfacePro 
@File    ：GetDetailApi.py
@IDE     ：PyCharm 
@Author  ：ceiling
@Date    ：2025/4/17 21:59 
"""
import requests

from api import BASE_URL, COOKIE


class GetDetailApi:

    def __init__(self):
        self.url = BASE_URL + "/account/detail"

        self.headers = {
            "authorization": COOKIE
        }

    def get_detail(self):

        response = requests.get(self.url, headers=self.headers)
        return response